<header>
    <div class="title">
        <a href=""><span class="icon user"></span>Alumnos</a> <span class="icon chevron-right"></span> <strong>Listado de alumnos regulares</strong>
    </div>
    <div class="shortcuts">
        <a href=""></a>
    </div>
    <div class="help">
        <a href="">Ayuda</a>
    </div>
</header>
<div class="sidebar">
    <div class="content">
        <?php if (count($arr_students)) { ?>
        <h3>Listado de alumnos regulares</h3>
        <div class="form-table">
            <table>
            	<thead>
                	<tr>
                		<th>Nombre</th>
                		<th>Email</th>
                	</tr>
                </thead>
                <tbody>
                    <?php foreach ($arr_students as $student) { ?>
            		<tr data-variables="<?php echo $student['id'].','.$student['nombre'].','.$student['apellido']; ?>">
            			<td><a href="<?php echo $host .'students/read/'. $student['id']; ?>"><?php echo $student['nombre'] .' '.$student['apellido']; ?></a></td>
            			<td><?php echo $student['email']; ?></td>
        		    </tr>
                    <?php } ?>
                </tbody>
        	</table>
        </div>
        <?php } else { echo "<strong>No hay alumnos regulares en este momento.</strong>"; } ?>
    </div>
</div>